package zhupf.test.lamda;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class User {
    private String name;

    private Integer age;

    public void method(){
        System.out.println("555");
        final int i = 0;
        class class1{
            int b = 1;
            public void neibunei(){
               b= i+1;
            }
        }
    }

    public class dog{
        private int hieht;
        public void addAge(int addAge){
            age+=addAge;
        }
    }

}
